package cn.yunhe.entity;

import java.io.Serializable;

public class Page implements Serializable {
    public static final int PAGE_SIZE = 5;
    private House house;
    private int pageStart;   //当前页
    private int pageSize;    //页面大小
    private String keyword;  // 关键字

    public Page(int pageStart, int pageSize, String keyword) {
        this.pageStart = pageStart;
        this.pageSize = pageSize;
        this.keyword = keyword;
    }

    public Page() {

    }

    public int getPageStart() {

        return pageStart;
    }

    public void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }

    public int getPageSize() {
        return pageSize;
    }

    public House getHouse() {
        return house;
    }

    public void setHouse(House house) {
        this.house = house;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
